package com.zwh.modbus.modbus4j.param;

import lombok.Data;

/**
 * @author hw
 * @className ConnectDevicePointParam
 * @Date 2022/2/25 14:46
 */
@Data
public class ConnectDevicePointParam {

    /*基本参数*/
    private Integer registerAddress; //寄存器地址
    private String type; //类型
    private String addressType; //地址类型
    private String controlCode; //控制功能码
    private Float baseValue; //基础值
    private String addressProperties; //地址属性
    private Integer offect; //偏移量
    private Float multiplier; //倍率
    private Integer readNumber; //读取个数
    private Integer decimal; //小数位

    /*高级参数*/
    private String reportMode; //上报模式
    private Integer reportCycle; //上报周期
    private String keepMode; //保存模式
    private Integer keepCycle; //保存周期
    private Integer maxKeepNumber; //最大保存条数
}
